﻿using PetaPoco;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BrnMall.Manager.Domain.Blog
{
    [TableName("crm_BlogComment")]
    [PrimaryKey("id")]
    public class BlogComment
    {
        public int Id { get; set; }
        /// <summary>
        /// 动态贴ID
        /// </summary>
        public int  BlogId {get;set;}
        /// <summary>
        /// 评论人的会员ID
        /// </summary>
        public int Uid { get; set; }
        /// <summary>
        /// 评论人的昵称
        /// </summary>
        public string NickName { get; set; }
        /// <summary>
        /// 回复内容
        /// </summary>
        public string Content { get; set; }
        /// <summary>
        /// 评论时间
        /// </summary>
        public DateTime Addtime { get; set; }

        public BlogComment()
        {
            BlogId = 0;
            Uid = 0;
            NickName = Content = string.Empty;
        }
    }
}
